<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>绩效考核  <{$smarty.const.WEB_NAME}></title>
	<link rel="stylesheet" type="text/css" href="./skin/default/style.css" />
	<script type="text/javascript" src="./skin/default/comm.js"></script> 
	<script type="text/javascript" src="./skin/default/calendar.js"></script>
</HEAD>

<BODY>
	<table>
		<tr>
			<th align="center">综合考核----<{$year}>年度技术部门年终考核分数公告</th>
		</tr>
	</table>
	<table width="100%" border="1" cellspacing="0" bordercolor="#cfcfcd" cellpadding="0" class="tableList tip_bug">
		<tr>
			<td align="center">员工</td>
			<td align="center">级别</td>
			<td align="center">4月</td>
			<td align="center">5月</td>
			<td align="center">6月</td>
			<td align="center">7月</td>
			<td align="center">8月</td>
			<td align="center">9月</td>
			<td align="center">10月</td>
			<td align="center">11月</td>
			<td align="center">12月</td>
			<td align="center">1月</td>
			<td align="center">2月</td>
			<td align="center">3月</td>
			<td align="center">年终考核分数</td>
			<td align="center">排名</td>
		</tr>
		<{section name=i loop=$list}>
		<tr>
			<td align="center"><{$list[i].name}></td>
			<td align="center"><{$list[i].level}></td>
			<td align="center"><{$list[i].4}></td>
			<td align="center"><{$list[i].5}></td>
			<td align="center"><{$list[i].6}></td>
			<td align="center"><{$list[i].7}></td>
			<td align="center"><{$list[i].8}></td>
			<td align="center"><{$list[i].9}></td>
			<td align="center"><{$list[i].10}></td>
			<td align="center"><{$list[i].11}></td>
			<td align="center"><{$list[i].12}></td>
			<td align="center"><{$list[i].1}></td>
			<td align="center"><{$list[i].2}></td>
			<td align="center"><{$list[i].3}></td>
			<td align="center"><{$list[i].totalSum}></td>
			<td align="center"><{$list[i].sort}></td>
		</tr>
		<{/section}>
	</table>
	<table width="100%" border="1" cellspacing="0" bordercolor="#cfcfcd" cellpadding="0" class="tableList tip_bug">
		<tr>
			<td align="center" width="25%">参与考核人员年终考核总分</td>
			<td align="center" width="25%"><{$kpiTotalScore}></td>
			<td align="center" width="25%">参与考核人员总数</td>
			<td align="center" width="25%"><{$kpiCount}></td>
		</tr>
	</table>

	<table width="100%" border="1" cellspacing="0" bordercolor="#cfcfcd" cellpadding="0" class="tableList tip_bug">
	<form method="post" id="queryId" onsubmit="return OnCheck()" action="?q=kpiManage/">
		<tr>
		  <td align="center"> 
			<input type="text" width="4" id="yearId" name="year" value="<{$year}>" />
			<input type="submit" value="指定查询" class="sub_btn" onclick="javascript:OnCurrQuery()"/>
		  </td>
		  <td align="center">
			<input type="submit" value="查询上年" class="sub_btn" onclick="javascript:OnPrevQuery()"/>
			<input type="submit" value="查询下年" class="sub_btn" onclick="javascript:OnNextQuery()"/>
		  </td>
		  <td align="center">
			<input type="button" value="导出记录" class="sub_btn" onclick="javascript:OnExport()"/>
		  </td>
		</tr>
	</form>
	</table>

	<script type="text/javascript">
		<!--
		function OnCheck() {
			return true;
		}
		
		// 指定查询
		function OnCurrQuery() {
			$('queryId').action += "yearTotalKpiStat";
		}
		
		// 查询上年
		function OnPrevQuery() {
			$('queryId').action += "yearTotalKpiStat";
			var year = $('yearId').value;
			$('yearId').value = parseInt(year, 10) - 1;	
		}
		
		// 查询下年
		function OnNextQuery() {
			$('queryId').action += "yearTotalKpiStat";
			var year = $('yearId').value;
			$('yearId').value = parseInt(year, 10) + 1;	
		}
		//-->
	</script>
</BODY>
</HTML>